@model ToDoListWeb.ViewModels.MenuInfoModel
@{
    Layout = null;
}
<link href="~/css/UserThings/UserGetMenuInfo.css" rel="stylesheet" />
<div id="user-info">
    <p>
        <a class="userPicture" asp-area="" asp-controller="User" asp-action="UserInfo"><img src="~/images/用户.png" id="user-img"></a>
        <a id="userName" asp-area="" asp-controller="User" asp-action="UserInfo"><span id="user-name">@Model.User.NickName</span></a>
    </p>
</div>
<div id="user-menu">
    <a class="menu-list" href="/User/ShowEvents">
        <img src="~/images/完成.png">
        清单总览
        <span>@Model.User.Inventory.Count</span>
    </a>
    <a class="menu-list" href="/Matter/ShowPastdueMatters">
        <img src="~/images/过期.png">
        过期事项
        <span>@Model.NumberOfPastdueMatter</span>
    </a>
    <a class="menu-list" href="/Matter/ShowAllMatters">
        <img src="~/images/所有事项.png">
        所有事项
        <span>@Model.NumberOfMatter</span>
    </a>
    <a class="menu-list" href="/Matter/SearchPage">
        <img src="~/images/搜索.png">
        查找事项
       @*<input class="searchKyeWords" type="text" placeholder="搜索问题或关键字"/>*@
    </a>
</div>
